package day021.single.demo2;

public class King {
    private King() {
    }

    private static King instance;

    public static King getInstance() {
        if (instance == null) {
            instance = new King();
        }

        return instance;
    }
}
